package com.learning.batterySwapPro.common.exception;

import com.learning.batterySwapPro.common.response.ResultCode;

/**
 * 资源未找到异常
 * @author wangyunyun
 */
public class ResourceNotFoundException extends BusinessException {
	public ResourceNotFoundException(String resourceName, Object identifier) {
		super(ResultCode.NOT_FOUND,
				String.format("%s [%s] 未找到", resourceName, identifier));
	}
}